package com.yu1996.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;



/**
 *  @Description:分页结果封装对象
 *  @author: xing
 *  @Date: 2021/6/26 0:00
 */ 
@Data
public class PageResult implements Serializable {

    private Long total;//总记录数
    private List rows;//当前页结果

    public PageResult(Long total, List rows) {
        super();
        this.total = total;
        this.rows = rows;
    }
}
